provider "alicloud" {
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
  region     = "${var.region}"
}

resource "alicloud_vpc" "main" {
  cidr_block = "${var.cidr_block}"
}

resource "alicloud_security_group" "main" {
  name        = "default"
  description = "default"
  vpc_id      = "${alicloud_vpc.main.id}"
}


